/*
 *************************************************************************
 *西瑞克斯研发管理系统
 *版 本: 1.0   
 *日 期：02/09/2012    
 *作 者： 王浩 QQ：873987060   
 *************************************************************************   
 */
package com.application.yfstandard.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;

/**
 * 
 * Description:YfStandard实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/09/2012
 * 
 */
@Entity
@Table(name = "yf_standard")
public class YfStandard implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfStandard() {

	}

	@Id
	@Column(name = "id")
	private String id; // $field.label

	@Column(name = "file_name")
	private String fileName; // $field.label

	@Column(name = "file_type")
	private Long fileType; // $field.label

	@Column(name = "buss_type")
	private Long bussType; // $field.label

	@Column(name = "operateid",updatable=false)
	private String operateid; // $field.label

	@Column(name = "create_date",updatable=false)
	private Date createDate; // $field.label
	
	@Transient
	private String rname;

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the FileName.
	 */
	public String getFileName() {
		return this.fileName;
	}

	/**
	 * @param fileName
	 *            Set the fileName.
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the FileType.
	 */
	public Long getFileType() {
		return this.fileType;
	}

	/**
	 * @param fileType
	 *            Set the fileType.
	 */
	public void setFileType(Long fileType) {
		this.fileType = fileType;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the BussType.
	 */
	public Long getBussType() {
		return this.bussType;
	}

	/**
	 * @param bussType
	 *            Set the bussType.
	 */
	public void setBussType(Long bussType) {
		this.bussType = bussType;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}
}
